package com.bzr.emos.wx.db.pojo;

import java.io.Serializable;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

/**
 * 用户信息表
 * user
 */
@Data
@Schema(description = "用户实体")
public class User implements Serializable {
    private Integer id;
    @Schema(description = "用户name", example = "长度大于3", accessMode = Schema.AccessMode.READ_ONLY)
    private String username;
    @Schema(description = "密码(加密存储)", example = "长度大于5", required = true)
    private String password;
    @Schema(description = "是否启用", example = "true")
    private Boolean enabled;

    private static final long serialVersionUID = 1L;
}


